package com.key.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
@ApiModel(value = "查询时盘点单可能接收到的参数")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StocktakingFormFindDTO {

    @ApiModelProperty(name = "currentPage",notes = "当前页码数",required = true)
    private Integer currentPage;
    @ApiModelProperty(name = "pageSize",notes = "每页显示记录数",required = true)
    private Integer pageSize;
    @ApiModelProperty(name = "rfState",notes = "盘点单号")
    private String sfNo;
    @ApiModelProperty(name = "rfState",notes = "盘点单名称")
    private String sfName;
    @ApiModelProperty(name = "rfState",notes = "备注")
    private String sfRemark;
    @ApiModelProperty(name = "rfState",notes = "创建人")
    private String sfCreater;
    @ApiModelProperty(name = "rfState",notes = "状态(1:未完成，2:已完成)")
    private Integer sfState;
    @ApiModelProperty(name = "rfState",notes = "创建时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp sfCreateTime;
    @ApiModelProperty(name = "rfState",notes = "是否全员盘点(1:是，2:否)")
    private Integer sfIsAll;
    @ApiModelProperty(name = "rfState",notes = "盘点时是否必须牌照(1:是，2:否)")
    private Integer sfIsPlate;
    @ApiModelProperty(name = "rfState",notes = "是否允许手动选择资产盘点(1:是，2:否)")
    private Integer sfIsManual;
    @ApiModelProperty(name = "rfState",notes = "盘点是否允许牌照上(1:是，2:否)")
    private Integer sfIsUpload;
    @ApiModelProperty(name = "rfState",notes = "是否包含已经调出未确认资产(1:是，2:否)")
    private Integer sfIsContainCallout;
}
